package com.finance.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: Apollo
 * @Date: 2021/4/20
 * @Description: 协议信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "agreement")
public class Agreement implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 协议标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 协议内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 申请贷款标识
     */
    @TableField(value = "apply_for_loan_code")
    private String applyForLoanCode;




    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_TITLE = "title";

    public static final String COL_CONTENT = "content";

    public static final String COL_APPLY_FOR_LOAN_CODE = "apply_for_loan_code";
}